<script>
	// H5端
	// #ifdef H5
	import disableDevtool from 'disable-devtool';
	// #endif
	export default {
		globalData:{
			withdrawalStateid:0
		},
		onLaunch: function() {
			// H5端
			// #ifdef H5
			// let options = {
			// 	disableMenu: true,
			// 	disableSelect: true
			// }
			// if (window.location.host.indexOf('localhost') === -1) {
			// 	disableDevtool(options);
			// }
			// #endif
		},
		onShow: function() {
			uni.hideTabBar({
				complete(res) {
					console.log(res);
				}
			})
			/*let now = new Date().getTime();
			let d = new Date("2022/10/19 19:48:31").getTime();
			if (now - d < 0) {
				uni.reLaunch({
					url: '/pages/other/image'
				})
			}*/
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			// safariHacks() {
			//     let windowsVH = window.innerHeight / 100;
			//     document.querySelector('.container').style.setProperty('--vh', windowsVH + 'px');
			//     window.addEventListener('resize', function() {
			//         document.querySelector('.container').style.setProperty('--vh', windowsVH + 'px');
			//     });
			// }
		}
	}
</script>

<style lang="scss">
	@import 'uview-ui/theme.scss';
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "uview-ui/index.scss";
	// @import "https://mpay-static.oss-cn-hangzhou.aliyuncs.com/html/lib/microdone/microdone.css";

	body {
		background-color: #f9f9f9;
		font-family: PingFangSC-Regular, PingFang SC !important;
		font-weight: 400;
		color: #fff;
	}

	view {
		box-sizing: border-box;
	}

	.content,
	.index {
		width: 100vw;
		max-width: 100vw;
		min-height: 100vh;
		background-color: #f9f9f9;
		padding: 88rpx 40rpx 0;
		box-sizing: border-box;
	}

	.nav_right {
		font-size: 28rpx;
		color: #C6C8DB;
	}

	/deep/ .uni-input-input {
		color: #fff !important;
	}

	/deep/ .u-form-item {
		color: #000 !important;
	}

	/deep/ .u-toast {
		.u-fade-enter-active {
			z-index: 99999 !important;
		}
	}
</style>
